/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.json.database;

import com.json.bean.Admin;

/**
 *
 * @author Administrator
 */
public class Test1 {

    public static void main(String[] args) {
        AdminDao workdao = new AdminDao();
        Admin homework=new Admin();
        homework.setUser("yuyuuy");
        homework.setPassword("hjhj");
        homework.setId(8);
        boolean b = workdao.update(homework);
        System.out.println(b);
    }
}
